//
//  SelectView.h
//  ChatForHot
//
//  Created by FLY on 2018/10/11.
//  Copyright © 2018年 FLY. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, MsgType) {
    AgeMsg = 1,
    HeightMsg,
    WeightMsg,
    StarMsg,
    IncomeMsg,
    JobMsg,

};
@protocol SelectDelegate <NSObject>

- (void)HOTCHATselectedMsg:(NSString *)msg type:(MsgType)type num1:(NSInteger)num1 num2:(NSInteger)num2;

@end

@interface SelectView : UIView

@property (nonatomic,strong) NSMutableArray *dataArr;
@property (nonatomic,assign) MsgType selectedType;
@property (nonatomic,strong) UIView *backview;
@property (nonatomic,strong) UILabel *titleLab;
@property (nonatomic,strong) UIPickerView *pickerview;

@property (nonatomic,strong) UIView *line1;
@property (nonatomic,strong) UIView *line2;
@property (nonatomic,strong) UIView *line3;

@property (nonatomic,strong) UIButton *cancelBtn;
@property (nonatomic,strong) UIButton *okBtn;

@property (nonatomic,assign) BOOL isOpen;

@property(nonatomic,weak) id<SelectDelegate> delegate;

- (void)setMsgType:(MsgType)type model:(UserInfoModel *)vlue;

- (void)HOTCHATshowTheView:(UIView *)perView;
- (void)HOTCHATcloseTheView;

@end

NS_ASSUME_NONNULL_END
